<template>
	<div class="student">
		<h2>我是Student组件</h2>
		<h3>学生姓名：{{name}}</h3>
		<h3>学生年龄：{{age}}</h3>
	</div>
</template>

<script>
	export default {
		name:'Student',
		data() {
			return {
				name:'张三',
				age:18
			}
		},
	}
</script>

<style>
	.student{
		background-color: pink;
		padding: 20px;
	}
</style>